package com.dashang.rebatecenter;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ImportResource;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @author 段旭东
 * @since 2019/6/25
 */

@EnableFeignClients
@SpringBootApplication
@EnableDiscoveryClient
@EnableTransactionManagement
@MapperScan("com.dashang.rebatecenter.dao")
public class RebateCenterApplication {
    public static void main(String[] args) {
        SpringApplication.run(RebateCenterApplication.class, args);
    }
}
